import request from '@/utils/request'

export const systemApi = {
    // 获取用户列表
    getUsers() {
        return request({
            url: '/api/workflow/system/users',
            method: 'get'
        })
    },

    // 获取部门列表
    getDepartments() {
        return request({
            url: '/api/workflow/system/departments',
            method: 'get'
        })
    }
}